Package com.cisco.pt.ipc.sim.impl
Class IoEComponentImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.PortImpl
com.cisco.pt.ipc.sim.impl.IoEComponentImpl
- All Implemented Interfaces:
IPCObject,IoEComponent,Port,Process
- Direct Known Subclasses:
CustomIOImpl
Information provided by the PKI file:
\class IoEComponent
\brief IoEComponent holds and manipulates the IoEComponent on IoE devices.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionIoEComponentImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:voidanalogWrite(int value) Information provided by the PKI file:Information provided by the PKI file:voidcustomWrite(String value) Information provided by the PKI file:intInformation provided by the PKI file:voiddigitalWrite(int value) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetIsOutputMode(boolean isOutput) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.PortImpl
deleteLink, getBandwidth, getBia, getChannel, getClockRate, getDescription, getEncapProcess, getHardwareQueue, getHigherProcessCount, getKeepAliveProcess, getLightStatus, getLink, getMacAddress, getName, getPortNameNumber, getPower, getQosQueue, getTerminalTypeShortString, getType, isAutoCross, isBandwidthAutoNegotiate, isDuplexAutoNegotiate, isEthernetPort, isFullDuplex, isPortUp, isPowerOn, isProtocolUp, isStraightPins, isWirelessPort, setBandwidth, setBandwidthAutoNegotiate, setChannel, setClockRate, setDescription, setDuplexAutoNegotiate, setFullDuplex, setMacAddress, setPowerMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Port
deleteLink, getBandwidth, getBia, getChannel, getClockRate, getDescription, getEncapProcess, getHardwareQueue, getHigherProcessCount, getKeepAliveProcess, getLightStatus, getLink, getMacAddress, getName, getPortNameNumber, getPower, getQosQueue, getTerminalTypeShortString, getType, isAutoCross, isBandwidthAutoNegotiate, isDuplexAutoNegotiate, isEthernetPort, isFullDuplex, isPortUp, isPowerOn, isProtocolUp, isStraightPins, isWirelessPort, setBandwidth, setBandwidthAutoNegotiate, setChannel, setClockRate, setDescription, setDuplexAutoNegotiate, setFullDuplex, setMacAddress, setPowerMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
IoEComponentImpl
public IoEComponentImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getSlotName
Information provided by the PKI file:
\brief Returns the name of the slot. \return string, the name of the slot.- Specified by:
getSlotNamein interfaceIoEComponent- Returns:
- String Returns a String
-
getSlotNumber
public int getSlotNumber()Information provided by the PKI file:
\brief Returns the number of the slot. \return int, the number of the slot.- Specified by:
getSlotNumberin interfaceIoEComponent- Returns:
- int Returns a int
-
getComponentType
Information provided by the PKI file:
\brief Returns the type of the component. \return string, type of the component.- Specified by:
getComponentTypein interfaceIoEComponent- Returns:
- String Returns a String
-
setIsOutputMode
public void setIsOutputMode(boolean isOutput) Information provided by the PKI file:
\brief set the flag of slot is using output mode or not. \param isOutput, true if slot is using output mode, false otherwise.- Specified by:
setIsOutputModein interfaceIoEComponent- Parameters:
isOutput- Takes in a parameter of isOutput
-
isOutputMode
public boolean isOutputMode()Information provided by the PKI file:
\brief Returns true if the slot is using output mode, otherwise false. \return bool, true if the slot is using output mode, otherwise false.- Specified by:
isOutputModein interfaceIoEComponent- Returns:
- boolean Returns a boolean
-
isInputMode
public boolean isInputMode()Information provided by the PKI file:
\brief Returns true if the slot is using input mode, otherwise false. \return bool, true if the slot is using input mode, otherwise false.- Specified by:
isInputModein interfaceIoEComponent- Returns:
- boolean Returns a boolean
-
digitalWrite
public void digitalWrite(int value) Information provided by the PKI file:
\brief digital write a value to the slot. \param value, the value to write to the slot.- Specified by:
digitalWritein interfaceIoEComponent- Parameters:
value- Takes in a parameter of value
-
digitalRead
public int digitalRead()Information provided by the PKI file:
\brief Returns int digital read from the slot. \return bool, int digital read from the slot.- Specified by:
digitalReadin interfaceIoEComponent- Returns:
- int Returns a int
-
analogWrite
public void analogWrite(int value) Information provided by the PKI file:
\brief analog write a value to the slot. \param value, the value to write to the slot.- Specified by:
analogWritein interfaceIoEComponent- Parameters:
value- Takes in a parameter of value
-
analogRead
public int analogRead()Information provided by the PKI file:
\brief Returns int analog read from the slot. \return bool, int analog read from the slot.- Specified by:
analogReadin interfaceIoEComponent- Returns:
- int Returns a int
-
customWrite
Information provided by the PKI file:
\brief custom write a string to the slot. \param value, the string to write to the slot.- Specified by:
customWritein interfaceIoEComponent- Parameters:
value- Takes in a parameter of value
-
customRead
Information provided by the PKI file:
\brief Returns the string custom read from the slot. \return string, the string custom read from the slot.- Specified by:
customReadin interfaceIoEComponent- Returns:
- String Returns a String
-